<%@ Page language="c#" Codebehind="UserModerationHistory.aspx.cs" AutoEventWireup="false" Inherits="CommunityServer.ControlPanel.Moderation.UserModerationHistory" MasterPageFile="~/ControlPanel/Masters/ForumModeration.master" %>

<asp:Content ContentPlaceHolderId="DescriptionRegion" runat="server">
	<CP:ResourceControl runat="server" resourcename="CP_Moderation_UserModerationHistory" />
</asp:Content>

<asp:Content ContentPlaceHolderId="TaskRegion" runat="Server">
    <CP:ControlPanelSelectedNavigation SelectedNavItem="CommonTasks" runat="server" />
	<div class="CommonFormArea">
		<cp:UserModerationHistory runat="server">
		    <SkinTemplate>
		        <table width="100%" cellpadding="0" cellspacing="0">
                    <tr>
                        <td>
                          <!-- Display Moderation action counters -->
                          <cp:UserModerationCounters id="ModerationCounters" runat="server">
                            <SkinTemplate>
                                <div align="left">
                                  <b><cp:ResourceLabel runat="server" ResourceName="UserModerationCounters_MessageAction" id="Resourcelabel4"/></b><br />
                                  <asp:HyperLink id="ApprovedPostsLink" runat="server" /> |
                                  <asp:HyperLink id="EditedPostsLink" runat="server" /> |
                                  <asp:HyperLink id="MovedPostsLink" runat="server" /> |
                                  <asp:HyperLink id="DeletedPostsLink" runat="server" /> | 
                                  <asp:HyperLink id="LockedPostLink" runat="server" /> |
                                  <asp:HyperLink id="UnlockedPostLink" runat="server" /> |
                                  <asp:HyperLink id="MergedPostLink" runat="server" /> |
                                  <asp:HyperLink id="SplitedPostLink" runat="server" /> |
                                  <asp:HyperLink id="UnApprovedPostLink" runat="server" /> |
                                  <asp:HyperLink id="PostIsAnnouncementLink" runat="server" /> |
                                  <asp:HyperLink id="PostIsNotAnnoucementLink" runat="server" />
                                  <br />
                                  <b><cp:ResourceLabel runat="server" ResourceName="UserModerationCounters_ForumAction" id="Resourcelabel1"/></b><br />
                                  <asp:HyperLink id="BannedLink" runat="server" /> |
                                  <asp:HyperLink id="UnBannedLink" runat="server" /> |
                                  <asp:HyperLink id="ModeratedLink" runat="server" /> |
                                  <asp:HyperLink id="UnmoderatedLink" runat="server" /> |
                                  <asp:HyperLink id="ResetPasswdLink" runat="server" /> |
                                  <asp:HyperLink id="ChangePasswdLink" runat="server" /> |
                                  <asp:HyperLink id="EditedLink" runat="server" />
                                </div>
                            </SkinTemplate>
                          </cp:UserModerationCounters>
                          <br />
                        </td>       
                    </tr>
                    <tr>
                        <td>
                          <asp:Label id="CurrentCounterName" runat="server" />
                          <br />
                          <!-- Display moderation actions repeater -->
                            <cp:RepeaterPlusNone EnableViewState="false" runat="server" id="AuditHistoryRepeater">

                                <HeaderTemplate>
                                  <table width="100%" cellpadding="4" cellspacing="1">
                                    <tr> 
                                        <td align="center" width="80"><cp:ResourceLabel runat="server" ResourceName="ModerationHistory_Date" id="Resourcelabel7" /></td>
                                        <td id="PostHeaderColumn" runat="server" align="center" width="150"><cp:ResourceLabel runat="server" ResourceName="ModerationHistory_Post" id="Resourcelabel1" /></td>
                                        <td align="center" width="100"><cp:ResourceLabel runat="server" ResourceName="ModerationHistory_Moderator" id="Resourcelabel3" /></td>
                                        <td align="center" width="*"><cp:ResourceLabel runat="server" ResourceName="ModerationHistory_Notes" id="Resourcelabel4" /></td>
                                    </tr>
                                </HeaderTemplate>

                                <ItemTemplate>
		                                  <tr valign="top">
			                                  <td align="center">
										                    <asp:Label runat="server" id="ItemDate" />
			                                  </td>
			                                  <td id="PostColumn" runat="server" align="left">
			                                    <b><asp:HyperLink runat="server" Id="ItemPostLink" /></b>
			                                  </td>
			                                  <td align="center">
			                                    <b><asp:HyperLink runat="server" Id="ItemUsernameLink" /></b>
			                                  </td>
			                                  <td align="left">
										                    <asp:Label runat="server" id="ItemNotes" />
			                                  </td>
		                                  </tr>            			            			
                                </ItemTemplate>
                            	
					                    <AlternatingItemTemplate>
		                                  <tr valign="top">
			                                  <td align="center">
										                    <asp:Label runat="server" id="ItemDate" />
			                                  </td>
			                                  <td id="PostColumn" runat="server" align="left">
			                                    <b><asp:HyperLink runat="server" Id="ItemPostLink" /></b>
			                                  </td>
			                                  <td align="center">
			                                    <b><asp:HyperLink runat="server" Id="ItemUsernameLink" /></b>
			                                  </td>
			                                  <td align="left">
										                    <asp:Label runat="server" id="ItemNotes" />
			                                  </td>
		                                  </tr>            			
					                    </AlternatingItemTemplate>
                            	
						                    <NoneTemplate>
								                      <tr>
								                        <td align="left" colspan="4">
								                          <br>
									                        <cp:ResourceLabel runat="server" ResourceName="ForumMembers_NoRecords" id="Resourcelabel2" NAME="Resourcelabel2"/>
								                        </td>
								                      </tr>
						                    </NoneTemplate>
                            	
                                <FooterTemplate>
                            	
	                                  </table>
                            		
                                </FooterTemplate>
                	            				
                            </cp:RepeaterPlusNone>          
                        </td>       
                    </tr>
                    <tr>
                        <td>    
                            <!-- Display the pager -->
					                    <table cellpadding="0" cellspacing="0" width="100%">
						                    <tr>
							                    <td valign="top" align="right">
								                    <asp:Panel id="DisplayPager" Runat="server">					
									                    <div style="padding-top: 12px; padding-bottom: 12px;">
										                    <table cellpadding="0" cellspacing="0">
											                    <tr>
												                    <td>
													                    <table width="100%" cellpadding="2" cellspacing="0">
														                    <tr>
															                    <td valign="middle" nowrap="nowrap">
																                    &nbsp;<cp:CurrentPage id="CurrentPage" runat="server" />
															                    </td>
															                    <td valign="middle" align="right" nowrap="nowrap">
																                    <cp:ForumPager id="Pager" runat="server" />
															                    </td>
														                    </tr>
													                    </table>
												                    </td>
											                    </tr>
										                    </table>
									                    </div>
								                    </asp:Panel>
							                    </td> 
						                    </tr>
					                    </table>
                        </td>       
                    </tr>    
                </table>   
            </SkinTemplate>
		</cp:UserModerationHistory>
	</div>
</asp:Content>